import request from '@/utils/request'
import qs from "qs";

// import qs from "qs"
export function getHeader(data){
    return request({
        url:'/code/momeapi/minicrmapp/test/header/',
        method:'post',
        
        data
    })

}

export function getSelect(path,data){
    return request({
        url:'/code'+path,
        method:'post',
        data
    })
}

export function getTable(path,data){
    return request({
        url:'/code'+path,
        method:'post',
        data
    })
}

export function getTableData(path,data){
    return request({
        url:'/code'+path,
        method:'post',
        data
    })
}


export function getDrop(data){
    return request({
        url:'/code/momeapi/minicrmapp/test/tablesetting/',
        method:'post',
        data
    })
}

export function getDropChecked(data){

    return request({
        url:'/code/momeapi/minicrmapp/test/tablesetting/data/',
        method:'post',
        data
    })
}

export function getTimeLine(data){
    return request({
        url:'/code/momeapi/minicrmapp/test/timeline/',
        method:'post',
        data
    })
}

export function getMoreLine(data){
 
    return request({
        url:'/code/momeapi/minicrmapp/test/timeline/',
        method:'post',
        data
    })
}

export function getDialog(data){
 
    return request({
        url:'/code/momeapi/minicrmapp/test/addnew/',
        method:'post',
        data
    })
}



export function getNote(data){
 
    return request({
        url:'/code/momeapi/minicrmapp/test/memo/',
        method:'post',
        data
    })
}
// 公共的提交表单api 划重点！！！
export function ComSubmitForm(path,data){
    
    return request({
        url:'/code'+path,
        method:'post',
        data
    })
}